<?php

/**
 * List of all categories
 */

class categoriesComponents extends myComponents
{
  public function executeRender()
  {
    $this->categories = new ProductGroup;
    
    $this->categories = $this->categories->getAll($this->getRoute()->getObject(), $this->getUser());
    $this->total      = $this->categories->count();
  }
};